package com.ourteam.frame.i18n;

import java.util.Locale;

import net.service.SpringContextAgent;

public class MessageSourceHelper {
	public static String getText(String code) {
		return SpringContextAgent.getApplicationContext().getMessage(code,
				null, Locale.getDefault());
	}
}
